gusucode.com > 智睿政府网站管理系统 V2.1.0 > 智睿政府网站管理系统 V2.1.0\code\Download.asp

    <!--#include file="Include/conn.asp"-->
<!--#include file="Include/Fun_SqlIn.Asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head><meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>资源中心 - 下载软件</title>
<meta name="keywords" content="<%=Sitekeywords%>" />
<meta name="description" content="<%=Sitedescription%>" />
<link href="images/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="images/zhirui.js"></script>
</head>
<body>
	  <%
	  dim Password,ID
	  ID=request.QueryString("Id")
	  Password=Request.form("Password")
	  if Password<>Npass then
	  %>
       <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #cbcbcb;" >
        <form id="form1" name="form1" method="post" action="">
        <tr>
          <td height="40" style="padding-left:20px;">输入密码:
            <input name="Password" type="text" class="input1" /></td>
        </tr>
        <tr>
          <td height="40" align="center">
		  <input name="Submit" type="submit" class="but1" value="提交下载" /> 
		  </td>
        </tr>
		</form>
      </table>
	  下载密码:<%=Npass%>
	  <%
	  else
	rs=server.CreateObject("adodb.recordset")   
   	sql="select top 1 * from zhi_rui_g_no where ViewFlag=1 and ID="&ID&" order by ID"
    set rs=conn.execute(sql)
	if not rs.eof then
	Response.write"<div align=center><br><a href='"&rs("BigPic")&"' target='_blank'><img src='Images/down.gif'  border=0/></a></div>"
	end if
	end if 
	 %>

</body>
</html>